home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1996-07-08 | 7.9 KB | [TEXT/R*ch] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [R*ch] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 77 77 77 2e 63 00 | 00 00 00 00 00 00 00 00 |..www.c.|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 52 2a 63 | 68 01 00 00 00 00 00 00 |.TEXTR*c|h.......|
|00000050| 00 00 00 00 00 18 cf 00 | 00 05 ca ae 06 39 3a ae |........|.....9:.|
|00000060| 06 39 3a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.9:.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 76 70 00 00 |........|....vp..|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 22 77 77 77 2e 68 22 |#include| "www.h"|
|00000090| 09 2f 2f 20 41 75 74 6f | 6d 61 74 69 63 61 6c 6c |.// Auto|maticall|
|000000a0| 79 20 69 6e 63 6c 75 64 | 65 73 20 22 61 63 67 69 |y includ|es "acgi|
|000000b0| 2e 68 22 0d 0d 23 69 6e | 63 6c 75 64 65 20 3c 54 |.h"..#in|clude <T|
|000000c0| 68 72 65 61 64 73 2e 68 | 3e 0d 23 69 6e 63 6c 75 |hreads.h|>.#inclu|
|000000d0| 64 65 20 3c 73 74 64 69 | 6f 2e 68 3e 0d 23 69 6e |de <stdi|o.h>.#in|
|000000e0| 63 6c 75 64 65 20 3c 73 | 74 64 6c 69 62 2e 68 3e |clude <s|tdlib.h>|
|000000f0| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 73 74 72 69 6e |.#includ|e <strin|
|00000100| 67 2e 68 3e 0d 0d 2f 2f | 20 2d 2d 2d 2d 2d 2d 2d |g.h>..//| -------|
|00000110| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000120| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000130| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0d |--------|------..|
|00000140| 2f 2f 20 5b 31 5d 09 52 | 65 74 75 72 6e 20 74 68 |// [1].R|eturn th|
|00000150| 65 20 6e 61 6d 65 20 6f | 66 20 79 6f 75 72 20 6c |e name o|f your l|
|00000160| 6f 67 20 66 69 6c 65 2e | 0d 0d 63 68 61 72 20 2a |og file.|..char *|
|00000170| 57 57 57 47 65 74 4c 6f | 67 4e 61 6d 65 28 76 6f |WWWGetLo|gName(vo|
|00000180| 69 64 29 0d 7b 0d 09 72 | 65 74 75 72 6e 20 22 61 |id).{..r|eturn "a|
|00000190| 63 67 69 2e 6c 6f 67 22 | 3b 0d 7d 0d 0d 2f 2f 20 |cgi.log"|;.}..// |
|000001a0| 5b 32 5d 09 52 65 74 75 | 72 6e 20 74 68 65 20 66 |[2].Retu|rn the f|
|000001b0| 6f 75 72 20 64 65 66 61 | 75 6c 74 20 48 54 4d 4c |our defa|ult HTML|
|000001c0| 20 65 72 72 6f 72 20 70 | 61 67 65 73 2e 0d 0d 76 | error p|ages...v|
|000001d0| 6f 69 64 20 57 57 57 47 | 65 74 48 54 4d 4c 50 61 |oid WWWG|etHTMLPa|
|000001e0| 67 65 73 28 48 61 6e 64 | 6c 65 20 72 65 66 75 73 |ges(Hand|le refus|
|000001f0| 65 64 2c 20 48 61 6e 64 | 6c 65 20 74 6f 6f 42 75 |ed, Hand|le tooBu|
|00000200| 73 79 2c 20 48 61 6e 64 | 6c 65 20 6e 6f 4d 65 6d |sy, Hand|le noMem|
|00000210| 6f 72 79 2c 20 48 61 6e | 64 6c 65 20 75 6e 65 78 |ory, Han|dle unex|
|00000220| 70 65 63 74 65 64 45 72 | 72 6f 72 29 0d 7b 0d 09 |pectedEr|ror).{..|
|00000230| 48 54 4d 4c 41 70 70 65 | 6e 64 46 69 6c 65 28 72 |HTMLAppe|ndFile(r|
|00000240| 65 66 75 73 65 64 2c 20 | 22 61 63 67 69 52 65 66 |efused, |"acgiRef|
|00000250| 75 73 65 64 2e 68 74 6d | 6c 22 29 3b 0d 09 48 54 |used.htm|l");..HT|
|00000260| 4d 4c 41 70 70 65 6e 64 | 46 69 6c 65 28 74 6f 6f |MLAppend|File(too|
|00000270| 42 75 73 79 2c 20 22 61 | 63 67 69 54 6f 6f 42 75 |Busy, "a|cgiTooBu|
|00000280| 73 79 2e 68 74 6d 6c 22 | 29 3b 0d 09 48 54 4d 4c |sy.html"|);..HTML|
|00000290| 41 70 70 65 6e 64 46 69 | 6c 65 28 6e 6f 4d 65 6d |AppendFi|le(noMem|
|000002a0| 6f 72 79 2c 20 22 61 63 | 67 69 4e 6f 4d 65 6d 6f |ory, "ac|giNoMemo|
|000002b0| 72 79 2e 68 74 6d 6c 22 | 29 3b 0d 09 48 54 4d 4c |ry.html"|);..HTML|
|000002c0| 41 70 70 65 6e 64 46 69 | 6c 65 28 75 6e 65 78 70 |AppendFi|le(unexp|
|000002d0| 65 63 74 65 64 45 72 72 | 6f 72 2c 20 22 61 63 67 |ectedErr|or, "acg|
|000002e0| 69 55 6e 65 78 70 65 63 | 74 65 64 2e 68 74 6d 6c |iUnexpec|ted.html|
|000002f0| 22 29 3b 0d 7d 0d 0d 2f | 2f 20 5b 33 5d 09 49 6e |");.}../|/ [3].In|
|00000300| 69 74 69 61 6c 69 7a 65 | 20 79 6f 75 72 20 70 72 |itialize| your pr|
|00000310| 6f 63 65 73 73 69 6e 67 | 20 65 6e 76 69 72 6f 6e |ocessing| environ|
|00000320| 6d 65 6e 74 2e 0d 0d 4f | 53 45 72 72 20 57 57 57 |ment...O|SErr WWW|
|00000330| 49 6e 69 74 28 76 6f 69 | 64 29 0d 7b 0d 09 72 65 |Init(voi|d).{..re|
|00000340| 74 75 72 6e 20 28 6e 6f | 45 72 72 29 3b 0d 7d 0d |turn (no|Err);.}.|
|00000350| 0d 2f 2f 20 5b 34 5d 09 | 54 65 61 72 20 64 6f 77 |.// [4].|Tear dow|
|00000360| 6e 20 79 6f 75 72 20 65 | 6e 76 69 72 6f 6e 6d 65 |n your e|nvironme|
|00000370| 6e 74 20 70 72 69 6f 72 | 20 74 6f 20 71 75 69 74 |nt prior| to quit|
|00000380| 74 69 6e 67 2e 0d 0d 76 | 6f 69 64 20 57 57 57 51 |ting...v|oid WWWQ|
|00000390| 75 69 74 28 76 6f 69 64 | 29 0d 7b 0d 7d 0d 0d 2f |uit(void|).{.}../|
|000003a0| 2f 20 5b 35 5d 09 44 6f | 20 61 6e 79 20 70 65 72 |/ [5].Do| any per|
|000003b0| 69 6f 64 69 63 20 74 61 | 73 6b 73 2e 0d 0d 4f 53 |iodic ta|sks...OS|
|000003c0| 45 72 72 20 57 57 57 50 | 65 72 69 6f 64 69 63 54 |Err WWWP|eriodicT|
|000003d0| 61 73 6b 28 76 6f 69 64 | 29 0d 7b 0d 09 72 65 74 |ask(void|).{..ret|
|000003e0| 75 72 6e 20 28 6e 6f 45 | 72 72 29 3b 0d 7d 0d 0d |urn (noE|rr);.}..|
|000003f0| 2f 2f 20 5b 36 5d 09 48 | 61 6e 64 6c 65 20 6f 6e |// [6].H|andle on|
|00000400| 65 20 50 4f 53 54 20 72 | 65 71 75 65 73 74 2e 20 |e POST r|equest. |
|00000410| 4e 6f 74 65 20 68 6f 77 | 20 77 65 20 75 73 65 20 |Note how| we use |
|00000420| 74 68 65 20 59 49 45 4c | 44 28 29 20 6d 61 63 72 |the YIEL|D() macr|
|00000430| 6f 0d 2f 2f 09 09 74 6f | 20 63 68 65 63 6b 20 69 |o.//..to| check i|
|00000440| 66 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |f the ap|plicatio|
|00000450| 6e 20 69 73 20 73 68 75 | 74 74 69 6e 67 20 64 6f |n is shu|tting do|
|00000460| 77 6e 20 61 6e 64 20 74 | 65 72 6d 69 6e 61 74 65 |wn and t|erminate|
|00000470| 0d 2f 2f 09 09 70 72 6f | 63 65 73 73 69 6e 67 20 |.//..pro|cessing |
|00000480| 69 66 20 73 6f 2e 0d 0d | 23 64 65 66 69 6e 65 20 |if so...|#define |
|00000490| 59 49 45 4c 44 28 29 20 | 7b 20 59 69 65 6c 64 54 |YIELD() |{ YieldT|
|000004a0| 6f 41 6e 79 54 68 72 65 | 61 64 28 29 3b 20 5c 0d |oAnyThre|ad(); \.|
|000004b0| 09 09 09 09 09 69 66 20 | 28 41 43 47 49 49 73 53 |.....if |(ACGIIsS|
|000004c0| 68 75 74 74 69 6e 67 64 | 6f 77 6e 28 29 29 20 5c |huttingd|own()) \|
|000004d0| 0d 09 09 09 09 09 09 72 | 65 74 75 72 6e 20 28 65 |.......r|eturn (e|
|000004e0| 72 72 57 57 57 52 65 66 | 75 73 65 64 29 3b 20 7d |rrWWWRef|used); }|
|000004f0| 0d 0d 4f 53 45 72 72 20 | 57 57 57 50 72 6f 63 65 |..OSErr |WWWProce|
|00000500| 73 73 28 57 57 57 52 65 | 71 75 65 73 74 20 72 65 |ss(WWWRe|quest re|
|00000510| 71 75 65 73 74 29 0d 7b | 0d 09 48 61 6e 64 6c 65 |quest).{|..Handle|
|00000520| 20 72 20 3d 20 48 54 4d | 4c 47 65 74 52 65 73 70 | r = HTM|LGetResp|
|00000530| 6f 6e 73 65 48 61 6e 64 | 6c 65 28 72 65 71 75 65 |onseHand|le(reque|
|00000540| 73 74 29 3b 0d 09 63 68 | 61 72 20 73 5b 31 30 32 |st);..ch|ar s[102|
|00000550| 34 5d 3b 0d 09 6c 6f 6e | 67 20 6c 65 6e 2c 20 69 |4];..lon|g len, i|
|00000560| 2c 20 6e 3b 0d 09 63 68 | 61 72 20 6e 61 6d 65 5b |, n;..ch|ar name[|
|00000570| 35 31 32 5d 3b 0d 09 63 | 68 61 72 20 76 61 6c 75 |512];..c|har valu|
|00000580| 65 5b 35 31 32 5d 3b 0d | 09 6c 6f 6e 67 20 69 4e |e[512];.|.long iN|
|00000590| 61 6d 65 2c 20 69 56 61 | 6c 75 65 3b 0d 09 42 6f |ame, iVa|lue;..Bo|
|000005a0| 6f 6c 65 61 6e 20 67 6f | 74 4f 6e 65 3b 0d 09 4f |olean go|tOne;..O|
|000005b0| 53 45 72 72 20 65 72 72 | 3b 0d 0d 09 65 72 72 20 |SErr err|;...err |
|000005c0| 3d 20 48 54 4d 4c 41 70 | 70 65 6e 64 50 53 74 72 |= HTMLAp|pendPStr|
|000005d0| 69 6e 67 28 72 2c 20 22 | 5c 70 3c 48 54 4d 4c 3e |ing(r, "|\p<HTML>|
|000005e0| 3c 48 45 41 44 3e 3c 54 | 49 54 4c 45 3e 41 43 47 |<HEAD><T|ITLE>ACG|
|000005f0| 49 3c 2f 54 49 54 4c 45 | 3e 3c 2f 48 45 41 44 3e |I</TITLE|></HEAD>|
|00000600| 5c 72 5c 6e 22 29 3b 0d | 0d 09 59 49 45 4c 44 28 |\r\n");.|..YIELD(|
|00000610| 29 3b 0d 0d 09 65 72 72 | 20 3d 20 48 54 4d 4c 41 |);...err| = HTMLA|
|00000620| 70 70 65 6e 64 43 53 74 | 72 69 6e 67 28 72 2c 20 |ppendCSt|ring(r, |
|00000630| 22 3c 42 4f 44 59 3e 3c | 48 31 3e 41 43 47 49 20 |"<BODY><|H1>ACGI |
|00000640| 50 61 72 61 6d 65 74 65 | 72 73 3c 2f 48 31 3e 3c |Paramete|rs</H1><|
|00000650| 54 41 42 4c 45 20 42 4f | 52 44 45 52 3d 30 3e 22 |TABLE BO|RDER=0>"|
|00000660| 29 3b 0d 0d 09 59 49 45 | 4c 44 28 29 3b 0d 0d 09 |);...YIE|LD();...|
|00000670| 65 72 72 20 3d 20 48 54 | 4d 4c 41 70 70 65 6e 64 |err = HT|MLAppend|
|00000680| 43 53 74 72 69 6e 67 28 | 72 2c 20 22 3c 54 52 3e |CString(|r, "<TR>|
|00000690| 3c 54 44 20 41 4c 49 47 | 4e 3d 52 49 47 48 54 20 |<TD ALIG|N=RIGHT |
|000006a0| 4e 4f 57 52 41 50 3e 3c | 42 3e 50 61 74 68 20 61 |NOWRAP><|B>Path a|
|000006b0| 72 67 75 6d 65 6e 74 73 | 3a 3c 2f 42 3e 3c 2f 54 |rguments|:</B></T|
|000006c0| 44 3e 3c 54 44 3e 22 29 | 3b 0d 0d 09 59 49 45 4c |D><TD>")|;...YIEL|
|000006d0| 44 28 29 3b 0d 0d 0d 09 | 69 66 20 28 48 54 54 50 |D();....|if (HTTP|
|000006e0| 43 6f 70 79 50 61 72 61 | 6d 28 72 65 71 75 65 73 |CopyPara|m(reques|
|000006f0| 74 2c 20 70 5f 70 61 74 | 68 5f 61 72 67 73 2c 20 |t, p_pat|h_args, |
|00000700| 73 2c 20 31 30 32 33 2c | 20 26 6c 65 6e 29 29 0d |s, 1023,| &len)).|
|00000710| 09 09 09 65 72 72 20 3d | 20 48 54 4d 4c 41 70 70 |...err =| HTMLApp|
|00000720| 65 6e 64 43 53 74 72 69 | 6e 67 28 72 2c 20 73 29 |endCStri|ng(r, s)|
|00000730| 3b 0d 0d 09 59 49 45 4c | 44 28 29 3b 0d 0d 09 65 |;...YIEL|D();...e|
|00000740| 72 72 20 3d 20 48 54 4d | 4c 41 70 70 65 6e 64 43 |rr = HTM|LAppendC|
|00000750| 53 74 72 69 6e 67 28 72 | 2c 20 22 3c 2f 54 44 3e |String(r|, "</TD>|
|00000760| 3c 2f 54 52 3e 3c 54 52 | 3e 3c 54 44 20 41 4c 49 |</TR><TR|><TD ALI|
|00000770| 47 4e 3d 52 49 47 48 54 | 20 4e 4f 57 52 41 50 3e |GN=RIGHT| NOWRAP>|
|00000780| 3c 42 3e 55 73 65 72 20 | 6e 61 6d 65 3a 3c 2f 42 |<B>User |name:</B|
|00000790| 3e 3c 2f 54 44 3e 3c 54 | 44 3e 22 29 3b 0d 0d 09 |></TD><T|D>");...|
|000007a0| 59 49 45 4c 44 28 29 3b | 0d 0d 0d 09 69 66 20 28 |YIELD();|....if (|
|000007b0| 48 54 54 50 43 6f 70 79 | 50 61 72 61 6d 28 72 65 |HTTPCopy|Param(re|
|000007c0| 71 75 65 73 74 2c 20 70 | 5f 75 73 65 72 6e 61 6d |quest, p|_usernam|
|000007d0| 65 2c 20 73 2c 20 31 30 | 32 33 2c 20 26 6c 65 6e |e, s, 10|23, &len|
|000007e0| 29 29 0d 09 09 09 65 72 | 72 20 3d 20 48 54 4d 4c |))....er|r = HTML|
|000007f0| 41 70 70 65 6e 64 43 53 | 74 72 69 6e 67 28 72 2c |AppendCS|tring(r,|
|00000800| 20 73 29 3b 0d 0d 09 59 | 49 45 4c 44 28 29 3b 0d | s);...Y|IELD();.|
|00000810| 0d 09 65 72 72 20 3d 20 | 48 54 4d 4c 41 70 70 65 |..err = |HTMLAppe|
|00000820| 6e 64 43 53 74 72 69 6e | 67 28 72 2c 20 22 3c 2f |ndCStrin|g(r, "</|
|00000830| 54 44 3e 3c 2f 54 52 3e | 3c 54 52 3e 3c 54 44 20 |TD></TR>|<TR><TD |
|00000840| 41 4c 49 47 4e 3d 52 49 | 47 48 54 20 4e 4f 57 52 |ALIGN=RI|GHT NOWR|
|00000850| 41 50 3e 3c 42 3e 50 61 | 73 73 77 6f 72 64 3a 3c |AP><B>Pa|ssword:<|
|00000860| 2f 42 3e 3c 2f 54 44 3e | 3c 54 44 3e 22 29 3b 0d |/B></TD>|<TD>");.|
|00000870| 0d 09 59 49 45 4c 44 28 | 29 3b 0d 0d 0d 09 69 66 |..YIELD(|);....if|
|00000880| 20 28 48 54 54 50 43 6f | 70 79 50 61 72 61 6d 28 | (HTTPCo|pyParam(|
|00000890| 72 65 71 75 65 73 74 2c | 20 70 5f 70 61 73 73 77 |request,| p_passw|
|000008a0| 6f 72 64 2c 20 73 2c 20 | 31 30 32 33 2c 20 26 6c |ord, s, |1023, &l|
|000008b0| 65 6e 29 29 0d 09 09 09 | 65 72 72 20 3d 20 48 54 |en))....|err = HT|
|000008c0| 4d 4c 41 70 70 65 6e 64 | 43 53 74 72 69 6e 67 28 |MLAppend|CString(|
|000008d0| 72 2c 20 73 29 3b 0d 0d | 09 59 49 45 4c 44 28 29 |r, s);..|.YIELD()|
|000008e0| 3b 0d 0d 09 65 72 72 20 | 3d 20 48 54 4d 4c 41 70 |;...err |= HTMLAp|
|000008f0| 70 65 6e 64 43 53 74 72 | 69 6e 67 28 72 2c 20 22 |pendCStr|ing(r, "|
|00000900| 3c 2f 54 44 3e 3c 2f 54 | 52 3e 3c 54 52 3e 3c 54 |</TD></T|R><TR><T|
|00000910| 44 20 41 4c 49 47 4e 3d | 52 49 47 48 54 20 4e 4f |D ALIGN=|RIGHT NO|
|00000920| 57 52 41 50 3e 3c 42 3e | 46 72 6f 6d 20 75 73 65 |WRAP><B>|From use|
|00000930| 72 3a 3c 2f 42 3e 3c 2f | 54 44 3e 3c 54 44 3e 22 |r:</B></|TD><TD>"|
|00000940| 29 3b 0d 0d 09 59 49 45 | 4c 44 28 29 3b 0d 0d 0d |);...YIE|LD();...|
|00000950| 09 69 66 20 28 48 54 54 | 50 43 6f 70 79 50 61 72 |.if (HTT|PCopyPar|
|00000960| 61 6d 28 72 65 71 75 65 | 73 74 2c 20 70 5f 66 72 |am(reque|st, p_fr|
|00000970| 6f 6d 5f 75 73 65 72 2c | 20 73 2c 20 31 30 32 33 |om_user,| s, 1023|
|00000980| 2c 20 26 6c 65 6e 29 29 | 0d 09 09 09 65 72 72 20 |, &len))|....err |
|00000990| 3d 20 48 54 4d 4c 41 70 | 70 65 6e 64 43 53 74 72 |= HTMLAp|pendCStr|
|000009a0| 69 6e 67 28 72 2c 20 73 | 29 3b 0d 0d 09 59 49 45 |ing(r, s|);...YIE|
|000009b0| 4c 44 28 29 3b 0d 0d 09 | 65 72 72 20 3d 20 48 54 |LD();...|err = HT|
|000009c0| 4d 4c 41 70 70 65 6e 64 | 43 53 74 72 69 6e 67 28 |MLAppend|CString(|
|000009d0| 72 2c 20 22 3c 2f 54 44 | 3e 3c 2f 54 52 3e 3c 54 |r, "</TD|></TR><T|
|000009e0| 52 3e 3c 54 44 20 41 4c | 49 47 4e 3d 52 49 47 48 |R><TD AL|IGN=RIGH|
|000009f0| 54 20 4e 4f 57 52 41 50 | 3e 3c 42 3e 43 6c 69 65 |T NOWRAP|><B>Clie|
|00000a00| 6e 74 20 61 64 64 72 65 | 73 73 3a 3c 2f 42 3e 3c |nt addre|ss:</B><|
|00000a10| 2f 54 44 3e 3c 54 44 3e | 22 29 3b 0d 0d 09 59 49 |/TD><TD>|");...YI|
|00000a20| 45 4c 44 28 29 3b 0d 0d | 0d 09 69 66 20 28 48 54 |ELD();..|..if (HT|
|00000a30| 54 50 43 6f 70 79 50 61 | 72 61 6d 28 72 65 71 75 |TPCopyPa|ram(requ|
|00000a40| 65 73 74 2c 20 70 5f 63 | 6c 69 65 6e 74 5f 61 64 |est, p_c|lient_ad|
|00000a50| 64 72 65 73 73 2c 20 73 | 2c 20 31 30 32 33 2c 20 |dress, s|, 1023, |
|00000a60| 26 6c 65 6e 29 29 0d 09 | 09 09 65 72 72 20 3d 20 |&len))..|..err = |
|00000a70| 48 54 4d 4c 41 70 70 65 | 6e 64 43 53 74 72 69 6e |HTMLAppe|ndCStrin|
|00000a80| 67 28 72 2c 20 73 29 3b | 0d 0d 09 59 49 45 4c 44 |g(r, s);|...YIELD|
|00000a90| 28 29 3b 0d 0d 09 65 72 | 72 20 3d 20 48 54 4d 4c |();...er|r = HTML|
|00000aa0| 41 70 70 65 6e 64 43 53 | 74 72 69 6e 67 28 72 2c |AppendCS|tring(r,|
|00000ab0| 20 22 3c 2f 54 44 3e 3c | 2f 54 52 3e 3c 54 52 3e | "</TD><|/TR><TR>|
|00000ac0| 3c 54 44 20 41 4c 49 47 | 4e 3d 52 49 47 48 54 20 |<TD ALIG|N=RIGHT |
|00000ad0| 4e 4f 57 52 41 50 3e 3c | 42 3e 53 65 72 76 65 72 |NOWRAP><|B>Server|
|00000ae0| 20 6e 61 6d 65 3a 3c 2f | 42 3e 3c 2f 54 44 3e 3c | name:</|B></TD><|
|00000af0| 54 44 3e 22 29 3b 0d 0d | 09 59 49 45 4c 44 28 29 |TD>");..|.YIELD()|
|00000b00| 3b 0d 0d 0d 09 69 66 20 | 28 48 54 54 50 43 6f 70 |;....if |(HTTPCop|
|00000b10| 79 50 61 72 61 6d 28 72 | 65 71 75 65 73 74 2c 20 |yParam(r|equest, |
|00000b20| 09 70 5f 73 65 72 76 65 | 72 5f 6e 61 6d 65 2c 20 |.p_serve|r_name, |
|00000b30| 73 2c 20 31 30 32 33 2c | 20 26 6c 65 6e 29 29 0d |s, 1023,| &len)).|
|00000b40| 09 09 09 65 72 72 20 3d | 20 48 54 4d 4c 41 70 70 |...err =| HTMLApp|
|00000b50| 65 6e 64 43 53 74 72 69 | 6e 67 28 72 2c 20 73 29 |endCStri|ng(r, s)|
|00000b60| 3b 0d 0d 09 59 49 45 4c | 44 28 29 3b 0d 0d 09 65 |;...YIEL|D();...e|
|00000b70| 72 72 20 3d 20 48 54 4d | 4c 41 70 70 65 6e 64 43 |rr = HTM|LAppendC|
|00000b80| 53 74 72 69 6e 67 28 72 | 2c 20 22 3c 2f 54 44 3e |String(r|, "</TD>|
|00000b90| 3c 2f 54 52 3e 3c 54 52 | 3e 3c 54 44 20 41 4c 49 |</TR><TR|><TD ALI|
|00000ba0| 47 4e 3d 52 49 47 48 54 | 20 4e 4f 57 52 41 50 3e |GN=RIGHT| NOWRAP>|
|00000bb0| 3c 42 3e 53 65 72 76 65 | 72 20 70 6f 72 74 3a 3c |<B>Serve|r port:<|
|00000bc0| 2f 42 3e 3c 2f 54 44 3e | 3c 54 44 3e 22 29 3b 0d |/B></TD>|<TD>");.|
|00000bd0| 0d 09 59 49 45 4c 44 28 | 29 3b 0d 0d 0d 09 69 66 |..YIELD(|);....if|
|00000be0| 20 28 48 54 54 50 43 6f | 70 79 50 61 72 61 6d 28 | (HTTPCo|pyParam(|
|00000bf0| 72 65 71 75 65 73 74 2c | 20 70 5f 73 65 72 76 65 |request,| p_serve|
|00000c00| 72 5f 70 6f 72 74 2c 20 | 73 2c 20 31 30 32 33 2c |r_port, |s, 1023,|
|00000c10| 20 26 6c 65 6e 29 29 0d | 09 09 09 65 72 72 20 3d | &len)).|...err =|
|00000c20| 20 48 54 4d 4c 41 70 70 | 65 6e 64 43 53 74 72 69 | HTMLApp|endCStri|
|00000c30| 6e 67 28 72 2c 20 73 29 | 3b 0d 0d 09 59 49 45 4c |ng(r, s)|;...YIEL|
|00000c40| 44 28 29 3b 0d 0d 09 65 | 72 72 20 3d 20 48 54 4d |D();...e|rr = HTM|
|00000c50| 4c 41 70 70 65 6e 64 43 | 53 74 72 69 6e 67 28 72 |LAppendC|String(r|
|00000c60| 2c 20 22 3c 2f 54 44 3e | 3c 2f 54 52 3e 3c 54 52 |, "</TD>|</TR><TR|
|00000c70| 3e 3c 54 44 20 41 4c 49 | 47 4e 3d 52 49 47 48 54 |><TD ALI|GN=RIGHT|
|00000c80| 20 4e 4f 57 52 41 50 3e | 3c 42 3e 53 63 72 69 70 | NOWRAP>|<B>Scrip|
|00000c90| 74 20 6e 61 6d 65 3a 3c | 2f 42 3e 3c 2f 54 44 3e |t name:<|/B></TD>|
|00000ca0| 3c 54 44 3e 22 29 3b 0d | 0d 09 59 49 45 4c 44 28 |<TD>");.|..YIELD(|
|00000cb0| 29 3b 0d 0d 0d 09 69 66 | 20 28 48 54 54 50 43 6f |);....if| (HTTPCo|
|00000cc0| 70 79 50 61 72 61 6d 28 | 72 65 71 75 65 73 74 2c |pyParam(|request,|
|00000cd0| 20 70 5f 73 63 72 69 70 | 74 5f 6e 61 6d 65 2c 20 | p_scrip|t_name, |
|00000ce0| 73 2c 20 31 30 32 33 2c | 20 26 6c 65 6e 29 29 0d |s, 1023,| &len)).|
|00000cf0| 09 09 09 65 72 72 20 3d | 20 48 54 4d 4c 41 70 70 |...err =| HTMLApp|
|00000d00| 65 6e 64 43 53 74 72 69 | 6e 67 28 72 2c 20 73 29 |endCStri|ng(r, s)|
|00000d10| 3b 0d 0d 09 59 49 45 4c | 44 28 29 3b 0d 0d 09 65 |;...YIEL|D();...e|
|00000d20| 72 72 20 3d 20 48 54 4d | 4c 41 70 70 65 6e 64 43 |rr = HTM|LAppendC|
|00000d30| 53 74 72 69 6e 67 28 72 | 2c 20 22 3c 2f 54 44 3e |String(r|, "</TD>|
|00000d40| 3c 2f 54 52 3e 3c 54 52 | 3e 3c 54 44 20 41 4c 49 |</TR><TR|><TD ALI|
|00000d50| 47 4e 3d 52 49 47 48 54 | 20 4e 4f 57 52 41 50 3e |GN=RIGHT| NOWRAP>|
|00000d60| 3c 42 3e 43 6f 6e 74 65 | 6e 74 20 74 79 70 65 3a |<B>Conte|nt type:|
|00000d70| 3c 2f 42 3e 3c 2f 54 44 | 3e 3c 54 44 3e 22 29 3b |</B></TD|><TD>");|
|00000d80| 0d 0d 09 59 49 45 4c 44 | 28 29 3b 0d 0d 0d 09 69 |...YIELD|();....i|
|00000d90| 66 20 28 48 54 54 50 43 | 6f 70 79 50 61 72 61 6d |f (HTTPC|opyParam|
|00000da0| 28 72 65 71 75 65 73 74 | 2c 20 70 5f 63 6f 6e 74 |(request|, p_cont|
|00000db0| 65 6e 74 5f 74 79 70 65 | 2c 20 73 2c 20 31 30 32 |ent_type|, s, 102|
|00000dc0| 33 2c 20 26 6c 65 6e 29 | 29 0d 09 09 09 65 72 72 |3, &len)|)....err|
|00000dd0| 20 3d 20 48 54 4d 4c 41 | 70 70 65 6e 64 43 53 74 | = HTMLA|ppendCSt|
|00000de0| 72 69 6e 67 28 72 2c 20 | 73 29 3b 0d 0d 09 59 49 |ring(r, |s);...YI|
|00000df0| 45 4c 44 28 29 3b 0d 0d | 09 65 72 72 20 3d 20 48 |ELD();..|.err = H|
|00000e00| 54 4d 4c 41 70 70 65 6e | 64 43 53 74 72 69 6e 67 |TMLAppen|dCString|
|00000e10| 28 72 2c 20 22 3c 2f 54 | 44 3e 3c 2f 54 52 3e 3c |(r, "</T|D></TR><|
|00000e20| 54 52 3e 3c 54 44 20 41 | 4c 49 47 4e 3d 52 49 47 |TR><TD A|LIGN=RIG|
|00000e30| 48 54 20 4e 4f 57 52 41 | 50 3e 3c 42 3e 52 65 66 |HT NOWRA|P><B>Ref|
|00000e40| 65 72 65 72 3a 3c 2f 42 | 3e 3c 2f 54 44 3e 3c 54 |erer:</B|></TD><T|
|00000e50| 44 3e 22 29 3b 0d 0d 09 | 59 49 45 4c 44 28 29 3b |D>");...|YIELD();|
|00000e60| 0d 0d 0d 09 69 66 20 28 | 48 54 54 50 43 6f 70 79 |....if (|HTTPCopy|
|00000e70| 50 61 72 61 6d 28 72 65 | 71 75 65 73 74 2c 20 70 |Param(re|quest, p|
|00000e80| 5f 72 65 66 65 72 65 72 | 2c 20 73 2c 20 31 30 32 |_referer|, s, 102|
|00000e90| 33 2c 20 26 6c 65 6e 29 | 29 0d 09 09 09 65 72 72 |3, &len)|)....err|
|00000ea0| 20 3d 20 48 54 4d 4c 41 | 70 70 65 6e 64 43 53 74 | = HTMLA|ppendCSt|
|00000eb0| 72 69 6e 67 28 72 2c 20 | 73 29 3b 0d 0d 09 59 49 |ring(r, |s);...YI|
|00000ec0| 45 4c 44 28 29 3b 0d 0d | 09 65 72 72 20 3d 20 48 |ELD();..|.err = H|
|00000ed0| 54 4d 4c 41 70 70 65 6e | 64 43 53 74 72 69 6e 67 |TMLAppen|dCString|
|00000ee0| 28 72 2c 20 22 3c 2f 54 | 44 3e 3c 2f 54 52 3e 3c |(r, "</T|D></TR><|
|00000ef0| 54 52 3e 3c 54 44 20 41 | 4c 49 47 4e 3d 52 49 47 |TR><TD A|LIGN=RIG|
|00000f00| 48 54 20 4e 4f 57 52 41 | 50 3e 3c 42 3e 55 73 65 |HT NOWRA|P><B>Use|
|00000f10| 72 20 61 67 65 6e 74 3a | 3c 2f 42 3e 3c 2f 54 44 |r agent:|</B></TD|
|00000f20| 3e 3c 54 44 3e 22 29 3b | 0d 0d 09 59 49 45 4c 44 |><TD>");|...YIELD|
|00000f30| 28 29 3b 0d 0d 0d 09 69 | 66 20 28 48 54 54 50 43 |();....i|f (HTTPC|
|00000f40| 6f 70 79 50 61 72 61 6d | 28 72 65 71 75 65 73 74 |opyParam|(request|
|00000f50| 2c 20 70 5f 75 73 65 72 | 5f 61 67 65 6e 74 2c 20 |, p_user|_agent, |
|00000f60| 73 2c 20 31 30 32 33 2c | 20 26 6c 65 6e 29 29 0d |s, 1023,| &len)).|
|00000f70| 09 09 09 65 72 72 20 3d | 20 48 54 4d 4c 41 70 70 |...err =| HTMLApp|
|00000f80| 65 6e 64 43 53 74 72 69 | 6e 67 28 72 2c 20 73 29 |endCStri|ng(r, s)|
|00000f90| 3b 0d 0d 09 59 49 45 4c | 44 28 29 3b 0d 0d 09 65 |;...YIEL|D();...e|
|00000fa0| 72 72 20 3d 20 48 54 4d | 4c 41 70 70 65 6e 64 43 |rr = HTM|LAppendC|
|00000fb0| 53 74 72 69 6e 67 28 72 | 2c 20 22 3c 2f 54 44 3e |String(r|, "</TD>|
|00000fc0| 3c 2f 54 52 3e 3c 54 52 | 3e 3c 54 44 20 41 4c 49 |</TR><TR|><TD ALI|
|00000fd0| 47 4e 3d 52 49 47 48 54 | 20 4e 4f 57 52 41 50 3e |GN=RIGHT| NOWRAP>|
|00000fe0| 3c 42 3e 41 63 74 69 6f | 6e 3a 3c 2f 42 3e 3c 2f |<B>Actio|n:</B></|
|00000ff0| 54 44 3e 3c 54 44 3e 22 | 29 3b 0d 0d 09 59 49 45 |TD><TD>"|);...YIE|
|00001000| 4c 44 28 29 3b 0d 0d 0d | 09 69 66 20 28 48 54 54 |LD();...|.if (HTT|
|00001010| 50 43 6f 70 79 50 61 72 | 61 6d 28 72 65 71 75 65 |PCopyPar|am(reque|
|00001020| 73 74 2c 20 70 5f 61 63 | 74 69 6f 6e 2c 20 73 2c |st, p_ac|tion, s,|
|00001030| 20 31 30 32 33 2c 20 26 | 6c 65 6e 29 29 0d 09 09 | 1023, &|len))...|
|00001040| 09 65 72 72 20 3d 20 48 | 54 4d 4c 41 70 70 65 6e |.err = H|TMLAppen|
|00001050| 64 43 53 74 72 69 6e 67 | 28 72 2c 20 73 29 3b 0d |dCString|(r, s);.|
|00001060| 0d 09 59 49 45 4c 44 28 | 29 3b 0d 0d 09 65 72 72 |..YIELD(|);...err|
|00001070| 20 3d 20 48 54 4d 4c 41 | 70 70 65 6e 64 43 53 74 | = HTMLA|ppendCSt|
|00001080| 72 69 6e 67 28 72 2c 20 | 22 3c 2f 54 44 3e 3c 2f |ring(r, |"</TD></|
|00001090| 54 52 3e 3c 54 52 3e 3c | 54 44 20 41 4c 49 47 4e |TR><TR><|TD ALIGN|
|000010a0| 3d 52 49 47 48 54 20 4e | 4f 57 52 41 50 3e 3c 42 |=RIGHT N|OWRAP><B|
|000010b0| 3e 41 63 74 69 6f 6e 20 | 70 61 74 68 3a 3c 2f 42 |>Action |path:</B|
|000010c0| 3e 3c 2f 54 44 3e 3c 54 | 44 3e 22 29 3b 0d 0d 09 |></TD><T|D>");...|
|000010d0| 59 49 45 4c 44 28 29 3b | 0d 0d 0d 09 69 66 20 28 |YIELD();|....if (|
|000010e0| 48 54 54 50 43 6f 70 79 | 50 61 72 61 6d 28 72 65 |HTTPCopy|Param(re|
|000010f0| 71 75 65 73 74 2c 20 70 | 5f 61 63 74 69 6f 6e 5f |quest, p|_action_|
|00001100| 70 61 74 68 2c 20 73 2c | 20 31 30 32 33 2c 20 26 |path, s,| 1023, &|
|00001110| 6c 65 6e 29 29 0d 09 09 | 09 65 72 72 20 3d 20 48 |len))...|.err = H|
|00001120| 54 4d 4c 41 70 70 65 6e | 64 43 53 74 72 69 6e 67 |TMLAppen|dCString|
|00001130| 28 72 2c 20 73 29 3b 0d | 0d 09 59 49 45 4c 44 28 |(r, s);.|..YIELD(|
|00001140| 29 3b 0d 0d 09 65 72 72 | 20 3d 20 48 54 4d 4c 41 |);...err| = HTMLA|
|00001150| 70 70 65 6e 64 43 53 74 | 72 69 6e 67 28 72 2c 20 |ppendCSt|ring(r, |
|00001160| 22 3c 2f 54 44 3e 3c 2f | 54 52 3e 3c 54 52 3e 3c |"</TD></|TR><TR><|
|00001170| 54 44 20 41 4c 49 47 4e | 3d 52 49 47 48 54 20 4e |TD ALIGN|=RIGHT N|
|00001180| 4f 57 52 41 50 3e 3c 42 | 3e 4d 65 74 68 6f 64 3a |OWRAP><B|>Method:|
|00001190| 3c 2f 42 3e 3c 2f 54 44 | 3e 3c 54 44 3e 22 29 3b |</B></TD|><TD>");|
|000011a0| 0d 0d 09 59 49 45 4c 44 | 28 29 3b 0d 0d 0d 09 69 |...YIELD|();....i|
|000011b0| 66 20 28 48 54 54 50 43 | 6f 70 79 50 61 72 61 6d |f (HTTPC|opyParam|
|000011c0| 28 72 65 71 75 65 73 74 | 2c 20 70 5f 6d 65 74 68 |(request|, p_meth|
|000011d0| 6f 64 2c 20 73 2c 20 31 | 30 32 33 2c 20 26 6c 65 |od, s, 1|023, &le|
|000011e0| 6e 29 29 0d 09 09 09 65 | 72 72 20 3d 20 48 54 4d |n))....e|rr = HTM|
|000011f0| 4c 41 70 70 65 6e 64 43 | 53 74 72 69 6e 67 28 72 |LAppendC|String(r|
|00001200| 2c 20 73 29 3b 0d 0d 09 | 59 49 45 4c 44 28 29 3b |, s);...|YIELD();|
|00001210| 0d 0d 09 65 72 72 20 3d | 20 48 54 4d 4c 41 70 70 |...err =| HTMLApp|
|00001220| 65 6e 64 43 53 74 72 69 | 6e 67 28 72 2c 20 22 3c |endCStri|ng(r, "<|
|00001230| 2f 54 44 3e 3c 2f 54 52 | 3e 3c 54 52 3e 3c 54 44 |/TD></TR|><TR><TD|
|00001240| 20 41 4c 49 47 4e 3d 52 | 49 47 48 54 20 4e 4f 57 | ALIGN=R|IGHT NOW|
|00001250| 52 41 50 3e 3c 42 3e 43 | 6c 69 65 6e 74 20 49 50 |RAP><B>C|lient IP|
|00001260| 3a 3c 2f 42 3e 3c 2f 54 | 44 3e 3c 54 44 3e 22 29 |:</B></T|D><TD>")|
|00001270| 3b 0d 0d 09 59 49 45 4c | 44 28 29 3b 0d 0d 0d 09 |;...YIEL|D();....|
|00001280| 69 66 20 28 48 54 54 50 | 43 6f 70 79 50 61 72 61 |if (HTTP|CopyPara|
|00001290| 6d 28 72 65 71 75 65 73 | 74 2c 20 70 5f 63 6c 69 |m(reques|t, p_cli|
|000012a0| 65 6e 74 5f 69 70 2c 20 | 73 2c 20 31 30 32 33 2c |ent_ip, |s, 1023,|
|000012b0| 20 26 6c 65 6e 29 29 0d | 09 09 09 65 72 72 20 3d | &len)).|...err =|
|000012c0| 20 48 54 4d 4c 41 70 70 | 65 6e 64 43 53 74 72 69 | HTMLApp|endCStri|
|000012d0| 6e 67 28 72 2c 20 73 29 | 3b 0d 0d 09 59 49 45 4c |ng(r, s)|;...YIEL|
|000012e0| 44 28 29 3b 0d 0d 09 65 | 72 72 20 3d 20 48 54 4d |D();...e|rr = HTM|
|000012f0| 4c 41 70 70 65 6e 64 43 | 53 74 72 69 6e 67 28 72 |LAppendC|String(r|
|00001300| 2c 20 22 3c 2f 54 44 3e | 3c 2f 54 52 3e 3c 54 52 |, "</TD>|</TR><TR|
|00001310| 3e 3c 54 44 20 41 4c 49 | 47 4e 3d 52 49 47 48 54 |><TD ALI|GN=RIGHT|
|00001320| 20 4e 4f 57 52 41 50 20 | 56 41 4c 49 47 4e 3d 54 | NOWRAP |VALIGN=T|
|00001330| 4f 50 3e 3c 42 3e 46 75 | 6c 6c 20 72 65 71 75 65 |OP><B>Fu|ll reque|
|00001340| 73 74 3a 3c 2f 42 3e 3c | 2f 54 44 3e 3c 54 44 3e |st:</B><|/TD><TD>|
|00001350| 22 29 3b 0d 0d 09 59 49 | 45 4c 44 28 29 3b 0d 0d |");...YI|ELD();..|
|00001360| 0d 09 69 66 20 28 48 54 | 54 50 43 6f 70 79 50 61 |..if (HT|TPCopyPa|
|00001370| 72 61 6d 28 72 65 71 75 | 65 73 74 2c 20 70 5f 66 |ram(requ|est, p_f|
|00001380| 75 6c 6c 5f 72 65 71 75 | 65 73 74 2c 20 73 2c 20 |ull_requ|est, s, |
|00001390| 31 30 32 33 2c 20 26 6c | 65 6e 29 29 0d 09 09 09 |1023, &l|en))....|
|000013a0| 65 72 72 20 3d 20 48 54 | 4d 4c 41 70 70 65 6e 64 |err = HT|MLAppend|
|000013b0| 43 53 74 72 69 6e 67 28 | 72 2c 20 73 29 3b 0d 0d |CString(|r, s);..|
|000013c0| 09 59 49 45 4c 44 28 29 | 3b 0d 0d 09 65 72 72 20 |.YIELD()|;...err |
|000013d0| 3d 20 48 54 4d 4c 41 70 | 70 65 6e 64 43 53 74 72 |= HTMLAp|pendCStr|
|000013e0| 69 6e 67 28 72 2c 20 22 | 3c 2f 54 44 3e 3c 2f 54 |ing(r, "|</TD></T|
|000013f0| 52 3e 3c 54 52 3e 3c 54 | 44 20 41 4c 49 47 4e 3d |R><TR><T|D ALIGN=|
|00001400| 52 49 47 48 54 20 4e 4f | 57 52 41 50 3e 3c 42 3e |RIGHT NO|WRAP><B>|
|00001410| 43 6f 6e 6e 65 63 74 69 | 6f 6e 20 49 44 3a 3c 2f |Connecti|on ID:</|
|00001420| 42 3e 3c 2f 54 44 3e 3c | 54 44 3e 22 29 3b 0d 0d |B></TD><|TD>");..|
|00001430| 09 59 49 45 4c 44 28 29 | 3b 0d 0d 0d 09 69 66 20 |.YIELD()|;....if |
|00001440| 28 48 54 54 50 43 6f 70 | 79 50 61 72 61 6d 28 72 |(HTTPCop|yParam(r|
|00001450| 65 71 75 65 73 74 2c 20 | 70 5f 63 6f 6e 6e 65 63 |equest, |p_connec|
|00001460| 74 69 6f 6e 5f 69 64 2c | 20 73 2c 20 31 30 32 33 |tion_id,| s, 1023|
|00001470| 2c 20 26 6c 65 6e 29 29 | 0d 09 09 09 65 72 72 20 |, &len))|....err |
|00001480| 3d 20 48 54 4d 4c 41 70 | 70 65 6e 64 43 53 74 72 |= HTMLAp|pendCStr|
|00001490| 69 6e 67 28 72 2c 20 73 | 29 3b 0d 0d 09 59 49 45 |ing(r, s|);...YIE|
|000014a0| 4c 44 28 29 3b 0d 0d 09 | 65 72 72 20 3d 20 48 54 |LD();...|err = HT|
|000014b0| 4d 4c 41 70 70 65 6e 64 | 43 53 74 72 69 6e 67 28 |MLAppend|CString(|
|000014c0| 72 2c 20 22 3c 2f 54 44 | 3e 3c 2f 54 52 3e 3c 54 |r, "</TD|></TR><T|
|000014d0| 52 3e 3c 54 44 20 41 4c | 49 47 4e 3d 52 49 47 48 |R><TD AL|IGN=RIGH|
|000014e0| 54 20 4e 4f 57 52 41 50 | 20 56 41 4c 49 47 4e 3d |T NOWRAP| VALIGN=|
|000014f0| 54 4f 50 3e 3c 42 3e 53 | 65 61 72 63 68 20 41 72 |TOP><B>S|earch Ar|
|00001500| 67 75 6d 65 6e 74 73 3a | 3c 2f 42 3e 3c 2f 54 44 |guments:|</B></TD|
|00001510| 3e 3c 54 44 3e 22 29 3b | 0d 0d 09 59 49 45 4c 44 |><TD>");|...YIELD|
|00001520| 28 29 3b 0d 0d 09 6e 20 | 3d 20 48 54 54 50 47 65 |();...n |= HTTPGe|
|00001530| 74 4e 75 6d 53 72 63 68 | 41 72 67 73 28 72 65 71 |tNumSrch|Args(req|
|00001540| 75 65 73 74 29 3b 0d 09 | 69 66 20 28 6e 20 3e 20 |uest);..|if (n > |
|00001550| 30 29 20 7b 0d 09 09 66 | 6f 72 20 28 69 20 3d 20 |0) {...f|or (i = |
|00001560| 31 3b 20 69 20 3c 3d 20 | 6e 3b 20 69 2b 2b 29 20 |1; i <= |n; i++) |
|00001570| 7b 0d 09 09 09 67 6f 74 | 4f 6e 65 20 3d 20 48 54 |{....got|One = HT|
|00001580| 54 50 47 65 74 53 72 63 | 68 41 72 67 41 74 28 72 |TPGetSrc|hArgAt(r|
|00001590| 65 71 75 65 73 74 2c 20 | 69 2c 20 6e 61 6d 65 2c |equest, |i, name,|
|000015a0| 20 35 31 31 2c 20 26 69 | 4e 61 6d 65 2c 20 76 61 | 511, &i|Name, va|
|000015b0| 6c 75 65 2c 20 35 31 31 | 2c 20 26 69 56 61 6c 75 |lue, 511|, &iValu|
|000015c0| 65 29 3b 0d 09 09 09 69 | 66 20 28 67 6f 74 4f 6e |e);....i|f (gotOn|
|000015d0| 65 29 20 7b 0d 09 09 09 | 09 69 66 20 28 69 20 3e |e) {....|.if (i >|
|000015e0| 20 31 29 20 65 72 72 20 | 3d 20 48 54 4d 4c 41 70 | 1) err |= HTMLAp|
|000015f0| 70 65 6e 64 43 53 74 72 | 69 6e 67 28 72 2c 20 22 |pendCStr|ing(r, "|
|00001600| 3c 42 52 3e 22 29 3b 0d | 09 09 09 09 65 72 72 20 |<BR>");.|....err |
|00001610| 3d 20 48 54 4d 4c 41 70 | 70 65 6e 64 43 53 74 72 |= HTMLAp|pendCStr|
|00001620| 69 6e 67 28 72 2c 20 6e | 61 6d 65 29 3b 0d 09 09 |ing(r, n|ame);...|
|00001630| 09 09 65 72 72 20 3d 20 | 48 54 4d 4c 41 70 70 65 |..err = |HTMLAppe|
|00001640| 6e 64 43 53 74 72 69 6e | 67 28 72 2c 20 22 20 3d |ndCStrin|g(r, " =|
|00001650| 20 22 29 3b 0d 09 09 09 | 09 65 72 72 20 3d 20 48 | ");....|.err = H|
|00001660| 54 4d 4c 41 70 70 65 6e | 64 43 53 74 72 69 6e 67 |TMLAppen|dCString|
|00001670| 28 72 2c 20 76 61 6c 75 | 65 29 3b 0d 09 09 09 7d |(r, valu|e);....}|
|00001680| 0d 09 09 09 59 49 45 4c | 44 28 29 3b 0d 09 09 7d |....YIEL|D();...}|
|00001690| 0d 09 7d 0d 09 65 6c 73 | 65 20 0d 09 09 65 72 72 |..}..els|e ...err|
|000016a0| 20 3d 20 48 54 4d 4c 41 | 70 70 65 6e 64 43 53 74 | = HTMLA|ppendCSt|
|000016b0| 72 69 6e 67 28 72 2c 20 | 22 28 6e 6f 6e 65 29 22 |ring(r, |"(none)"|
|000016c0| 29 3b 0d 0d 09 65 72 72 | 20 3d 20 48 54 4d 4c 41 |);...err| = HTMLA|
|000016d0| 70 70 65 6e 64 43 53 74 | 72 69 6e 67 28 72 2c 20 |ppendCSt|ring(r, |
|000016e0| 22 3c 2f 54 44 3e 3c 2f | 54 52 3e 3c 54 52 3e 3c |"</TD></|TR><TR><|
|000016f0| 54 44 20 41 4c 49 47 4e | 3d 52 49 47 48 54 20 4e |TD ALIGN|=RIGHT N|
|00001700| 4f 57 52 41 50 20 56 41 | 4c 49 47 4e 3d 54 4f 50 |OWRAP VA|LIGN=TOP|
|00001710| 3e 3c 42 3e 50 6f 73 74 | 20 41 72 67 75 6d 65 6e |><B>Post| Argumen|
|00001720| 74 73 3a 3c 2f 42 3e 3c | 2f 54 44 3e 3c 54 44 3e |ts:</B><|/TD><TD>|
|00001730| 22 29 3b 0d 0d 09 59 49 | 45 4c 44 28 29 3b 0d 0d |");...YI|ELD();..|
|00001740| 09 6e 20 3d 20 48 54 54 | 50 47 65 74 4e 75 6d 50 |.n = HTT|PGetNumP|
|00001750| 6f 73 74 41 72 67 73 28 | 72 65 71 75 65 73 74 29 |ostArgs(|request)|
|00001760| 3b 0d 09 69 66 20 28 6e | 20 3e 20 30 29 20 7b 0d |;..if (n| > 0) {.|
|00001770| 09 09 66 6f 72 20 28 69 | 20 3d 20 31 3b 20 69 20 |..for (i| = 1; i |
|00001780| 3c 3d 20 6e 3b 20 69 2b | 2b 29 20 7b 0d 09 09 09 |<= n; i+|+) {....|
|00001790| 67 6f 74 4f 6e 65 20 3d | 20 48 54 54 50 47 65 74 |gotOne =| HTTPGet|
|000017a0| 50 6f 73 74 41 72 67 41 | 74 28 72 65 71 75 65 73 |PostArgA|t(reques|
|000017b0| 74 2c 20 69 2c 20 6e 61 | 6d 65 2c 20 35 31 31 2c |t, i, na|me, 511,|
|000017c0| 20 26 69 4e 61 6d 65 2c | 20 76 61 6c 75 65 2c 20 | &iName,| value, |
|000017d0| 35 31 31 2c 20 26 69 56 | 61 6c 75 65 29 3b 0d 09 |511, &iV|alue);..|
|000017e0| 09 09 69 66 20 28 67 6f | 74 4f 6e 65 29 20 7b 0d |..if (go|tOne) {.|
|000017f0| 09 09 09 09 69 66 20 28 | 69 20 3e 20 31 29 20 65 |....if (|i > 1) e|
|00001800| 72 72 20 3d 20 48 54 4d | 4c 41 70 70 65 6e 64 43 |rr = HTM|LAppendC|
|00001810| 53 74 72 69 6e 67 28 72 | 2c 20 22 3c 42 52 3e 22 |String(r|, "<BR>"|
|00001820| 29 3b 0d 09 09 09 09 65 | 72 72 20 3d 20 48 54 4d |);.....e|rr = HTM|
|00001830| 4c 41 70 70 65 6e 64 43 | 53 74 72 69 6e 67 28 72 |LAppendC|String(r|
|00001840| 2c 20 6e 61 6d 65 29 3b | 0d 09 09 09 09 65 72 72 |, name);|.....err|
|00001850| 20 3d 20 48 54 4d 4c 41 | 70 70 65 6e 64 43 53 74 | = HTMLA|ppendCSt|
|00001860| 72 69 6e 67 28 72 2c 20 | 22 20 3d 20 22 29 3b 0d |ring(r, |" = ");.|
|00001870| 09 09 09 09 65 72 72 20 | 3d 20 48 54 4d 4c 41 70 |....err |= HTMLAp|
|00001880| 70 65 6e 64 43 53 74 72 | 69 6e 67 28 72 2c 20 76 |pendCStr|ing(r, v|
|00001890| 61 6c 75 65 29 3b 0d 09 | 09 09 7d 0d 09 09 09 59 |alue);..|..}....Y|
|000018a0| 49 45 4c 44 28 29 3b 0d | 09 09 7d 0d 09 7d 0d 09 |IELD();.|..}..}..|
|000018b0| 65 6c 73 65 20 0d 09 09 | 65 72 72 20 3d 20 48 54 |else ...|err = HT|
|000018c0| 4d 4c 41 70 70 65 6e 64 | 43 53 74 72 69 6e 67 28 |MLAppend|CString(|
|000018d0| 72 2c 20 22 28 6e 6f 6e | 65 29 22 29 3b 0d 09 0d |r, "(non|e)");...|
|000018e0| 09 59 49 45 4c 44 28 29 | 3b 0d 0d 09 65 72 72 20 |.YIELD()|;...err |
|000018f0| 3d 20 48 54 4d 4c 41 70 | 70 65 6e 64 43 53 74 72 |= HTMLAp|pendCStr|
|00001900| 69 6e 67 28 72 2c 20 22 | 3c 2f 55 4c 3e 3c 2f 54 |ing(r, "|</UL></T|
|00001910| 44 3e 3c 2f 54 52 3e 3c | 2f 54 41 42 4c 45 3e 5c |D></TR><|/TABLE>\|
|00001920| 72 5c 6e 3c 2f 42 4f 44 | 59 3e 5c 72 5c 6e 3c 2f |r\n</BOD|Y>\r\n</|
|00001930| 48 54 4d 4c 3e 5c 72 5c | 6e 22 29 3b 0d 0d 09 72 |HTML>\r\|n");...r|
|00001940| 65 74 75 72 6e 20 28 65 | 72 72 29 3b 0d 7d 0d 00 |eturn (e|rr);.}..|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 01 00 00 00 05 70 | 00 00 04 70 00 00 00 5a |.......p|...p...Z|
|00001990| 07 ff ff ff 07 ff ff ff | 07 ff ff ff 07 ff ff ff |........|........|
|000019a0| 07 ff ff ff 07 ff ff ff | 07 ff ff ff 07 ff ff ff |........|........|
|000019b0| 05 77 77 77 2e 63 02 00 | 00 00 54 45 58 54 52 2a |.www.c..|..TEXTR*|
|000019c0| 63 68 01 00 ff ff ff ff | 00 00 00 00 6f 3c 00 00 |ch......|....o<..|
|000019d0| 00 00 54 45 58 54 52 2a | 63 68 01 00 ff ff ff ff |..TEXTR*|ch......|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 ad 8f 2e 3c 00 00 | 18 cf 00 00 05 ca 1f fe |.....<..|........|
|00001a00| 00 00 00 00 00 ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00001a10| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff 00 00 |........|........|
|00001a20| 00 00 00 00 00 ff f5 f5 | f5 f5 f5 f5 f5 f5 f5 f5 |........|........|
|00001a30| f5 f5 f5 f5 f5 f5 f5 f5 | f5 f5 f5 f5 f5 ff 00 00 |........|........|
|00001a40| 00 00 00 00 00 ff f5 f5 | f5 f5 f5 f5 f5 f5 f5 f5 |........|........|
|00001a50| f5 f5 f5 f5 f5 f5 f5 f5 | f5 f5 f5 f5 f5 ff ff ff |........|........|
|00001a60| 00 00 00 00 00 ff f5 f5 | f5 ff fa f5 f5 f5 fd fd |........|........|
|00001a70| fd fd fd fd fd fd f5 fd | fd fd fd f5 f5 ff f9 ff |........|........|
|00001a80| 00 00 04 18 52 2a 63 68 | 00 80 00 03 00 00 00 48 |....R*ch|.......H|
|00001a90| 00 48 00 00 00 00 02 da | 02 28 ff e1 ff e2 02 f9 |.H......|.(......|
|00001aa0| 02 46 03 47 05 28 03 fc | 00 02 00 00 00 48 00 48 |.F.G.(..|.....H.H|
|00001ab0| 00 00 00 00 02 da 02 28 | 00 01 00 00 00 64 00 00 |.......(|.....d..|
|00001ac0| 00 01 00 01 01 01 00 00 | 00 01 27 0f 00 01 00 01 |........|..'.....|
|00001ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 02 00 19 |........|........|
|00001ae0| 01 90 00 00 00 00 00 40 | 00 00 00 00 00 00 00 00 |.......@|........|
|00001af0| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b00| 00 00 00 01 07 43 6f 75 | 72 69 65 72 00 00 00 00 |.....Cou|rier....|
|00001b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c00| 00 00 00 00 00 0a 00 00 | 00 04 09 48 65 6c 76 65 |........|...Helve|
|00001c10| 74 69 63 61 06 4d 00 00 | 00 00 00 00 00 00 00 00 |tica.M..|........|
|00001c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d00| 00 00 00 00 00 00 00 00 | 00 00 0c 43 6f 6e 66 69 |........|...Confi|
|00001d10| 64 65 6e 74 69 61 6c 08 | 09 48 00 00 00 00 00 00 |dential.|.H......|
|00001d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 01 |........|........|
|00001e10| 00 00 01 01 00 00 80 00 | 00 00 80 00 00 00 80 00 |........|........|
|00001e20| 00 00 80 00 00 00 00 00 | 00 01 01 00 01 00 01 01 |........|........|
|00001e30| 00 00 00 01 00 48 00 00 | 00 00 00 00 00 00 00 00 |.....H..|........|
|00001e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 48 |........|.......H|
|00001ea0| 00 09 4d 6f 6e 61 63 6f | 00 00 00 00 00 00 00 00 |..Monaco|........|
|00001eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ec0| 00 00 00 03 00 04 00 64 | 00 92 02 41 03 28 00 64 |.......d|...A.(.d|
|00001ed0| 00 92 02 41 03 28 ae 05 | f3 56 00 00 05 ca 00 00 |...A.(..|.V......|
|00001ee0| 05 ca 00 00 03 6f 01 00 | 00 00 00 04 00 01 00 01 |.....o..|........|
|00001ef0| 00 00 01 00 00 00 05 70 | 00 00 04 70 00 00 00 5a |.......p|...p...Z|
|00001f00| 01 90 7b 40 21 ca 00 00 | 00 1c 00 5a 00 02 42 42 |..{@!...|...Z..BB|
|00001f10| 53 54 00 00 00 1a 4d 50 | 53 52 00 00 00 26 4d 57 |ST....MP|SR...&MW|
|00001f20| 42 42 00 00 00 32 00 80 | ff ff 00 00 00 00 00 00 |BB...2..|........|
|00001f30| 00 00 03 ed ff ff 00 00 | 04 1c 00 00 00 00 03 f0 |........|........|
|00001f40| ff ff 00 00 04 68 00 00 | 00 00 00 00 00 00 00 00 |.....h..|........|
|00001f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+